import javax.xml.crypto.Data;
import java.sql.Date;
import java.sql.SQLData;

public class Time {
    public int year ;
    public int  month;
    public int  day;
    public void setDate ( int i, int d, int f){
        this.year = i;
        this.month = d;
        this.day = f;
    }
    public void print(){
        System.out.println(year+" "+month+" "+day);
    }

    public static void main(String[] args) {
        Time time1 =new Time();
        time1.setDate(1999,2,11);
        time1.print();

        Time time2 =new Time();
        time2.setDate(1232,4,12);
        time2.print();

    }
}
